import request from '@/router/axios';

export const getList = (current, size, params) => {
  return request({
    url: '/api/smart-xapply/appraise/appraise/getAppraiseList',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}


export const getOneAppraiseList = (current, size, id,beginDate,endDate) => {
  return request({
    url: '/api/smart-xapply/appraise/appraise/getOneAppraiseList',
    method: 'get',
    params: {
      current,
      size,
      id,
      beginDate,
      endDate
    }
  })
}




export const vacationSave = (row) => {
  return request({
    url: '/api/smart-xapply/appraise/appraise/vacationSave',
    method: 'post',
    data: row
  })
}
